.class Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;
.super Ljava/lang/Object;
.source "CompressGridViewWrapper.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/fs/g;

.field final synthetic b:Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

.field final synthetic c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/CompressGridViewWrapper$v;Lcom/estrongs/fs/g;Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iput-object p2, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->a:Lcom/estrongs/fs/g;

    iput-object p3, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->b:Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 17

    move-object/from16 v0, p0

    .line 1
    iget-object v1, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->a:Lcom/estrongs/fs/g;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v5

    .line 2
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->O0()Ljava/util/Map;

    move-result-object v1

    invoke-interface {v1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/compress/h;

    const/4 v2, 0x1

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/compress/h;->d()I

    move-result v3

    if-ne v3, v2, :cond_0

    .line 4
    iget-object v2, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v2, v1}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Lcom/estrongs/android/pop/app/compress/h;)V

    return-void

    .line 5
    :cond_0
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->P0()Ljava/util/Map;

    move-result-object v1

    invoke-interface {v1, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/compress/e;

    if-eqz v1, :cond_1

    .line 6
    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/compress/e;->d()I

    move-result v3

    if-ne v3, v2, :cond_1

    .line 7
    iget-object v2, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v3, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->a:Lcom/estrongs/fs/g;

    invoke-static {v2, v1, v3}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Lcom/estrongs/android/pop/app/compress/e;Lcom/estrongs/fs/g;)V

    return-void

    .line 8
    :cond_1
    iget-object v1, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->a:Lcom/estrongs/fs/g;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Les/nl;->b(Ljava/lang/String;)Les/nl$a;

    move-result-object v1

    .line 9
    iget-object v2, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->b:Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    instance-of v3, v2, Lcom/estrongs/android/pop/esclasses/ESImageView;

    if-eqz v3, :cond_2

    .line 10
    check-cast v2, Lcom/estrongs/android/pop/esclasses/ESImageView;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Lcom/estrongs/android/pop/esclasses/ESImageView;->setTopCornerImage(Landroid/graphics/drawable/Drawable;)V

    .line 11
    iget-object v2, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->b:Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    invoke-virtual {v2}, Landroid/widget/ImageView;->invalidate()V

    .line 12
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/utils/l;->b()Lcom/estrongs/android/pop/utils/l;

    move-result-object v2

    iget-object v3, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->a:Lcom/estrongs/fs/g;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/estrongs/android/pop/utils/l;->c(Ljava/lang/String;)V

    if-eqz v1, :cond_3

    .line 13
    iget-boolean v2, v1, Les/nl$a;->c:Z

    if-eqz v2, :cond_3

    iget-object v2, v1, Les/nl$a;->b:Ljava/lang/String;

    if-eqz v2, :cond_3

    new-instance v2, Ljava/io/File;

    iget-object v3, v1, Les/nl$a;->b:Ljava/lang/String;

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_3

    .line 14
    iget-object v1, v1, Les/nl$a;->b:Ljava/lang/String;

    .line 15
    iget-object v2, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v2, v2, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    check-cast v2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 16
    invoke-virtual {v2, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->i(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    return-void

    .line 17
    :cond_3
    new-instance v1, Lcom/estrongs/android/pop/app/compress/a;

    iget-object v2, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v2, v2, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v3, v2, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    const/4 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    move-object v2, v1

    invoke-direct/range {v2 .. v8}, Lcom/estrongs/android/pop/app/compress/a;-><init>(Landroid/content/Context;ZLjava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/estrongs/android/pop/app/compress/a$f;)V

    .line 18
    new-instance v2, Lcom/estrongs/android/pop/app/compress/h;

    iget-object v3, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v3, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v3, v3, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {v2, v3}, Lcom/estrongs/android/pop/app/compress/h;-><init>(Landroid/content/Context;)V

    .line 19
    iget-object v3, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v9, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v3, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->b:Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    iget-object v11, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->j:Landroid/widget/ProgressBar;

    iget-object v12, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    iget-object v13, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    iget-object v14, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->m:Landroid/widget/TextView;

    iget-object v15, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    iget-object v3, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    move-object v10, v2

    move-object/from16 v16, v3

    invoke-static/range {v9 .. v16}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Lcom/estrongs/android/pop/app/compress/h;Landroid/widget/ProgressBar;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;Landroid/widget/TextView;)V

    .line 20
    iget-object v3, v0, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;->c:Lcom/estrongs/android/view/CompressGridViewWrapper$v;

    iget-object v3, v3, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v3}, Lcom/estrongs/android/view/CompressGridViewWrapper;->l(Lcom/estrongs/android/view/CompressGridViewWrapper;)Lcom/estrongs/android/pop/app/compress/h$j;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/estrongs/android/pop/app/compress/h;->a(Lcom/estrongs/android/pop/app/compress/h$j;)V

    .line 21
    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/app/compress/a;->a(Lcom/estrongs/android/pop/app/compress/h;)V

    .line 22
    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/compress/a;->b()V

    return-void
.end method
